package com.demo.websocket.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName diseases
 */
@TableName(value ="diseases")
@Data
public class Diseases implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 疾病名称
     */
    private String diseasesName;

    /**
     * 疾病分类
     */
    private String category;

    /**
     * 疾病描述
     */
    private String diseasesDescription;

    /**
     * 是否为常见病
     */
    private String isCommon;

    /**
     * 创建时间
     */
    private Date createtime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}